const SelectDate = {
    template: '#SelectDate',

    data() {
        return {
            currentDate: '1',
            tabs: [{ name: '本日', type: '1' }, { name: '本月', type: '2' }, { name: '本年', type: '3' }]
        }
    },
    methods: {
        handleDateClick(item) {
            this.currentDate = item.type
            this.$emit('changeDate', this.currentDate)
        }
    }

}